Electrostatic printer that focuses a laser beam to form images that are transferred to paper electrostatically